package ${cfg.reqPackage};

import com.hyzx.qbasic.admin.model.vo.req.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 获取${table.comment!}信息请求类
 *
 * @author ${author}
 * @since ${date}
 */
<#--获取主键字段-->
<#list table.fields as field>
    <#if field.keyFlag>
        <#assign primaryKey = field>
    </#if>
</#list>

@ApiModel
public class ${cfg.getInfoReqName} extends BaseRequest {
    @ApiModelProperty("${primaryKey.comment}")
    private ${primaryKey.propertyType} ${primaryKey.propertyName};

    public ${primaryKey.propertyType} get${primaryKey.capitalName}() {
        return ${primaryKey.propertyName};
    }

    public void set${primaryKey.capitalName}(${primaryKey.propertyType} ${primaryKey.propertyName}) {
        this.${primaryKey.propertyName} = ${primaryKey.propertyName};
    }
}
